package cn.yto.print.constants;

public class AssistantConstants {

    public static final String SESSION_ID = "sessionId";

    public static final String APP_VERSION = "app.version";
    public static final String APP_SOCKET = "app.socket.port";
    public static final String SHOW_COMMAND = "SHOW_WINDOW";
    public static final String SERVER_PORT = "server.port";

    public static final String UPGRADE_NEED_PREF = "isUpgradeNeeded";
    public static final String LAST_LOGGER_PREF = "lastLoggedDate";

    /* 打印组件的安装状态 */
    public static final int UNINSTALL = 0;
    public static final int INSTALLED = 1;
    public static final int UNKNOWN = 2;

    /* 打印组件的连接状态 */
    public static final int OPENED = 1;
    public static final int CLOSED = 0;

    public static final Integer DISCONNECT = 0;
    public static final Integer CONNECTED = 1;

    // 默认串口连接名称和波特率
    public static final String DEFAULT_SERIAL_PORT = "COM1";
    public static final int DEFAULT_BAUD_RATE = 9600;

}
